package pers.cz.netty.filter;

/**
 * @version 1.0
 * @description:
 * @author: ChengZhi 0336
 * @create: 2024-08-12 12:19
 **/
public class DefaultFilterHandlerContext<T,O> extends AbstractFilterHandlerContext<T,O>{

    private final FilterHandler<T,O> handler;

    public DefaultFilterHandlerContext(Pipeline<T,O> pipeline, FilterHandler<T,O> handler) {
        super(pipeline);
        this.handler = handler;
    }

    @Override
    protected FilterHandler<T,O> handler() {
        return handler;
    }
}
